package cn.tedu.csmall.passport.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;


 
@Data
@Accessors(chain = true)
@TableName("ams_admin")
public class Admin implements Serializable {
   
    
    @TableId(type = IdType.AUTO)
    private Long id;

    private String username;

    private String password;

    private String nickname;

    private String avatar;
    
    private String phone;
    
    private String email;

    private String description;

    private Integer enable;

    private String lastLoginIp;

    private Integer loginCount;

    private LocalDateTime gmtLastLogin;

    private LocalDateTime gmtCreate;

    private LocalDateTime gmtModified;


}